package com.ty.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ty.entity.Customer;
import org.springframework.transaction.annotation.Transactional;

/**
 * (Customer)表服务接口
 *
 * @author makejava
 * @since 2020-12-01 22:17:47
 */
public interface CustomerService extends IService<Customer> {

    void saveCustomer(Customer customer);

    PageInfo<Customer> getPage(Customer customer, Integer page, Integer limit);

    Integer queryByPhone(String phone);
}